﻿namespace Creek.UI.EFML.Base.Validators
{
    public class NumberValidator : IValidator
    {
        #region Public Properties

        public override string Name
        {
            get
            {
                return "number";
            }
        }

        public override string Pattern
        {
            get
            {
                return @"^\d$";
            }
        }

        #endregion
    }
}